package com.gavin.netflix.ribbon.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: Gavin
 * Description:
 * Date: 2019/1/18 Time: 15:47
 * Zhan Hong Copyright (c) 2018 All Rights Reserved.
 **/
@RestController
public class ServerController {

    @GetMapping("/hi/{name}")
    public String sayHi(@PathVariable String name){
        return "hello" + name + " 9334";
    }
}
